package com.cnap.multiclouldmgmt.model.scale.db;

import java.time.LocalDateTime;

/**
 * 伸缩组
 *
 * @author xc
 **/
public class ScalingGroupPO {
    // id
    private String id;
    // 集群名称
    private String clusterName;
    // 供应商，预留
    private String provider;
    // 云商账户
    private String accountName;
    // 云资源标签
    private String label;
    // 虚机移除策略
    private String deletePolicy;
    // 名字
    private String groupName;
    // 最大VM数
    private int maxNum;
    // 期望VM数
    private int expectNum;
    // 最小VM数
    private int minNum;
    // 伸缩配置的id
    private String configId;
    // 状态 0：初始，1：启用，2：停用
    private int status;

    private String policyId;

    private String userId;
    private String userName;
    private LocalDateTime createTime;

    private String configName;

    /**
     * get
     *
     * @return AccountName
     */
    public String getAccountName() {
        return accountName;
    }

    /**
     * set
     *
     * @param accountName accountName
     */
    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return ClusterName
     */
    public String getClusterName() {
        return clusterName;
    }

    /**
     * set
     *
     * @param clusterName clusterName
     */
    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    /**
     * get
     *
     * @return Provider
     */
    public String getProvider() {
        return provider;
    }

    /**
     * set
     *
     * @param provider provider
     */
    public void setProvider(String provider) {
        this.provider = provider;
    }

    /**
     * get
     *
     * @return Label
     */
    public String getLabel() {
        return label;
    }

    /**
     * set
     *
     * @param label label
     */
    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * get
     *
     * @return DeletePolicy
     */
    public String getDeletePolicy() {
        return deletePolicy;
    }

    /**
     * set
     *
     * @param deletePolicy deletePolicy
     */
    public void setDeletePolicy(String deletePolicy) {
        this.deletePolicy = deletePolicy;
    }

    /**
     * get
     *
     * @return GroupName
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * set
     *
     * @param groupName groupName
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    /**
     * get
     *
     * @return MaxNum
     */
    public int getMaxNum() {
        return maxNum;
    }

    /**
     * set
     *
     * @param maxNum maxNum
     */
    public void setMaxNum(int maxNum) {
        this.maxNum = maxNum;
    }

    /**
     * get
     *
     * @return ExpectNum
     */
    public int getExpectNum() {
        return expectNum;
    }

    /**
     * set
     *
     * @param expectNum expectNum
     */
    public void setExpectNum(int expectNum) {
        this.expectNum = expectNum;
    }

    /**
     * get
     *
     * @return MinNum
     */
    public int getMinNum() {
        return minNum;
    }

    /**
     * set
     *
     * @param minNum minNum
     */
    public void setMinNum(int minNum) {
        this.minNum = minNum;
    }

    /**
     * get
     *
     * @return ConfigId
     */
    public String getConfigId() {
        return configId;
    }

    /**
     * set
     *
     * @param configId configId
     */
    public void setConfigId(String configId) {
        this.configId = configId;
    }

    /**
     * get
     *
     * @return Status
     */
    public int getStatus() {
        return status;
    }

    /**
     * set
     *
     * @param status status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    /**
     * get
     *
     * @return PolicyId
     */
    public String getPolicyId() {
        return policyId;
    }

    /**
     * set
     *
     * @param policyId policyId
     */
    public void setPolicyId(String policyId) {
        this.policyId = policyId;
    }

    /**
     * get
     *
     * @return UserId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * set
     *
     * @param userId userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * get
     *
     * @return UserName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * set
     *
     * @param userName userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * get
     *
     * @return CreateTime
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * set
     *
     * @param createTime createTime
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * get
     *
     * @return ConfigName
     */
    public String getConfigName() {
        return configName;
    }

    /**
     * set
     *
     * @param configName configName
     */
    public void setConfigName(String configName) {
        this.configName = configName;
    }

    @Override
    public String toString() {
        return "ScalingGroupPO{" +
                "id='" + id + '\'' +
                ", clusterName='" + clusterName + '\'' +
                ", provider='" + provider + '\'' +
                ", label='" + label + '\'' +
                ", deletePolicy='" + deletePolicy + '\'' +
                ", groupName='" + groupName + '\'' +
                ", maxNum=" + maxNum +
                ", expectNum=" + expectNum +
                ", minNum=" + minNum +
                ", configId='" + configId + '\'' +
                ", status=" + status +
                ", policyId='" + policyId + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", createTime=" + createTime +
                ", configName='" + configName + '\'' +
                '}';
    }
}
